﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace GoDive.Contract
{
    public class tdivesite
    {

        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public long ID { get; set; }

        [ForeignKey("DestinationID")]
        public virtual tdestination Destination { get; set; }

        /// <summary>
        /// 关联目的地ID
        /// </summary>
        public long DestinationID { get; set; }

        /// <summary>
        /// 潜点中文名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 潜点英文名
        /// </summary>
        public string EnName { get; set; }

        /// <summary>
        /// 潜点评分
        /// </summary>
        public decimal Score { get; set; }

        /// <summary>
        /// 最佳潜水季节
        /// </summary>
        public string BestSeason { get; set; }

        /// <summary>
        /// 潜点类型
        /// </summary>
        public System.SByte DiveCategory { get; set; }

        /// <summary>
        /// 难度等级
        /// </summary>
        public string DifficultLevel { get; set; }

        public int OrderIndex { get; set; }

        /// <summary>
        /// 潜点经度坐标
        /// </summary>
        public decimal Lng { get; set; }

        /// <summary>
        /// 潜点纬度坐标
        /// </summary>
        public decimal Lat { get; set; }

        /// <summary>
        /// 潜点介绍，概况
        /// </summary>
        public string Summary { get; set; }

        /// <summary>
        /// 潜点题图
        /// </summary>
        public string Pic { get; set; }

        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime DataChangeTime { get; set; }
        public string DetailInfo { get; set; }
    }
}